package com.appbee.media.client;

import javax.inject.Singleton;

import com.appbee.media.client.presenter.MediaActivity;
import com.appbee.media.client.presenter.MediaThumbnailActivity;
import com.appbee.media.client.presenter.MediaUploadActivity;
import com.appbee.media.client.ui.MediaHtmlTemplate;
import com.appbee.media.client.ui.MediaThumbnailView;
import com.appbee.media.client.ui.MediaUploadView;
import com.appbee.media.client.ui.MediaView;
import com.google.gwt.inject.client.AbstractGinModule;

public class MediaGinModul extends AbstractGinModule
{

	@Override
	protected void configure()
	{
		bind(MediaHtmlTemplate.class).in(Singleton.class);
		bind(MediaThumbnailActivity.View.class).to(MediaThumbnailView.class).in(Singleton.class);
		bind(MediaActivity.View.class).to(MediaView.class).in(Singleton.class);
		bind(MediaUploadActivity.View.class).to(MediaUploadView.class).in(Singleton.class);
	}

}
